package cn.itcast.user.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
@ConfigurationProperties(prefix = "pattern") // TODO: 测试nacos 配置热更新第二种方式
public class PatternProperties {

    private String dateformat;

    // TODO: 测试nacos 环境共享配置
    private String envSharedValue;
}
